//
//  ONTabbarViewController.h
//  Volatix
//
//  Created by Familly on 6/11/14.
//  Copyright (c) 2014 Familly. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol ONTabbarViewControllerDelegate <NSObject>
@optional
-(void)updateColumnName:(NSMutableArray *)sender; // realtime
-(void)updateColumnNameDayAHead:(NSMutableArray *)sender; /// day ahead
-(void)ONLeftItemselected:(id)sender;
-(void)ONRightItemselected:(id)sender;
-(void)updateDataRealtime:(NSMutableArray *)sender;
-(void)updateDataDayAhead:(NSMutableArray *)sender;
-(void)backToScreen:(id)sender;
//@required
@end
@interface ONTabbarViewController : UITabBarController

@property (assign,nonatomic) BOOL isRealTime;
@property (assign,nonatomic) BOOL MainScreen;


@property (weak, nonatomic) IBOutlet UINavigationItem *onNavigation;
@property (weak, nonatomic) id<ONTabbarViewControllerDelegate> tabbarDelegateRealTime;
@property (weak, nonatomic) id<ONTabbarViewControllerDelegate> tabbarDelegateDayAhead;
@property (weak, nonatomic) id<ONTabbarViewControllerDelegate> tabbarDelegateDayAhead_Detail;
@property (assign,nonatomic) NSInteger currentType;
@property (nonatomic,strong) NSMutableArray * arrRealTimeResult;
@property (nonatomic,strong) NSMutableArray * arrDayAheadResult;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *itemTabbarLeft;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *itemTabbarRight;
@property (assign,nonatomic) NSInteger ChoiceTypeDataFilter;
@property (assign,nonatomic) BOOL isLeftBackButton;
@property (weak, nonatomic) IBOutlet UIButton *buttonSetting;
@property (weak, nonatomic) IBOutlet UIButton *ButtonLeft;

@end
